package com.ywqf_api.dto.exc;

import com.ywqf_api.base.BaseAPIExcution;
import com.ywqf_api.enums.ClientEnum;

public class ClientExcution extends BaseAPIExcution{
    public ClientExcution(ClientEnum clientEnum, Object data) {
        this.code = clientEnum.getCode();
        this.data = data;
        this.message=clientEnum.getMessage();
    }

    public ClientExcution(ClientEnum clientEnum) {
        this.code = clientEnum.getCode();
    }
}
